<?php

namespace app\index\controller;

use think\App;
use think\Controller;

class Base extends Controller
{
    function __construct(App $app = null)
    {
        parent::__construct($app);
        $navs = model('Nav')->get_all();
        $this->assign('nav',$navs);
    }
}
